package window;

import javax.swing.JInternalFrame;
import javax.swing.JPanel;

import view.TopicView;


public class TopicFrame extends JInternalFrame {
	static final int xoffset = 0, yoffset = 0;
	//static int width=400, height=400;
	public TopicView tview;
	public TopicFrame(String title, int w, int h, int y){
		super(title,
	              true, //resizable
	              true,  //closable
	              true, //maximizable
	              true);//iconifiable
		setSize(w,h);
		setLocation(xoffset, yoffset);
		tview = new TopicView(w, h, y); 
		this.add(tview);    
		tview.init();
	}
}
